<div class="grid_16">
	<h2>Ответить </h2>
</div>
<form method="post" action="/admin/qanswer/update" id="test" name="test" enctype="multipart/form-data">
<div class="grid_5">
	<p>
		<label for="title">От кого: </label>
		<?php echo '<label for="title">'.$replay->last_name.'</label>';?>
	</p>
</div>

<div class="grid_6">
	<p>
		<label for="title">E-mail: </label>
                <?php echo '<label for="title">'.$replay->email.'</label>'; ?>
	</p>
</div>
<div class="grid_5">
	<p>
		<label for="title">Дата: </label>
                <?php echo '<label for="title">'.$replay->date.'</label>'; ?>
	</p>
</div>
    <div class="grid_16">
        <p>
            <?php echo $replay->message; ?>
        </p>
    </div>

<div class="grid_16">
	<p>
		<label>Ответ<small>на вопрос заданный пользователем.</small></label>
		<textarea id="redactor_content" name="redactor_content" style="width: 100%;" name="text" >

		</textarea>
			<script type="text/javascript">
				$(document).ready(
					function()
					{
						$('#redactor_content').redactor({ focus: true, toolbar:'mini' });
					}
				);
			</script>
	</p>
</div>

<div class="grid_16">
	<p class="submit">
		<?php echo '<input type="hidden" name="id" value="'.$_GET['id'].'" />'?>
		<input type="submit" value="Ответить" />
	</p>
</div>
</form>